package com.funcourse.demo.api.restful.io.response;

import com.funcourse.demo.model.Quiz;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PageableResponse<T> {

  List<T> content;
  Integer  totalPages;
  Long totalElements;

}
